CFLAGS = -g -I ../includes
CC=g++

OBJ = open.o read.o write.o busca_inode.o inode.o cache.o acionar_driver.o ftable.o \
		sem_utils.o alocar_bloco.o flush.o sem_utils.o damaged_block.o

all: lib

%.o: %c
	$(CC) -c $(CFLAGS)

lib: $(OBJ)
	ar -r libfs.a $^	

clear: 
	rm *.o